package com.lzy.mall.order.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author lzy
 * @date 2021/9/22 17:14
 */
@ConfigurationProperties(prefix = "mall.thread")
@Component
@Data
public class ThreadPoolConfigProperties {
    private int corePoolSize;
    private int maximumPoolSize;
    private long keepAliveTime;
}
